<?php

namespace app\common\middleware;

/**
 * 跳过登录检测
 */
class WithoutLogin
{
    public function handle($request, \Closure $next)
    {
        // 当前路由无需进行登录验证
        $request->needLogin = false;

        return $next($request);
    }
}
